<?php

use Kylin\Admin\Admin;
use Kylin\Admin\Layout\Menu;

/**
 * admin - admin builder based on Laravel.
 *
 * Bootstraper for Admin.
 *
 * Here you can remove builtin form field:
 *
 * extend custom field:
 * Kylin\Admin\Form::extend('php', PHPEditor::class);
 * Kylin\Admin\Grid\Column::extend('php', PHPEditor::class);
 * Kylin\Admin\Grid\Filter::extend('php', PHPEditor::class);
 *
 * Or require js and css assets:
 * Admin::css('/packages/prettydocs/css/styles.css');
 * Admin::js('/packages/prettydocs/js/main.js');
 *
 */
Admin::menu(function (Menu $menu) {
    $menu->add([
        [
            'id' => '4', // 此id只要保证当前的数组中是唯一的即可
            'title' => '用户管理',
            'icon' => 'fa-bell',
            'uri' => '',
            'parent_id' => 0,
        ],
        [
            'id' => '4001', // 此id只要保证当前的数组中是唯一的即可
            'title' => '用户列表',
            'icon' => 'fa-bell',
            'uri' => 'sq-bid/auth/seller-user',
            'parent_id' => 4,
        ],
    ]);
});
